home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7564 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: dawn.mmm.com!news
  2. From: atluft@mmm.com (Aaron Luft)
  3. Newsgroups: comp.lang.apl,comp.lang.asm.x86,comp.lang.c,comp.lang.c++,comp.os.ms-windows.programmer.networks
  4. Subject: Re: API Call to Acquire Ethernet Address
  5. Date: 24 Feb 1996 00:56:30 GMT
  6. Organization: 3M Company
  7. Message-ID: <4glnnu$bb3@dawn.mmm.com>
  8. References: <4f0bml$lvd@noc.tor.hookup.net> <4fnm1j$52@ns2.emirates.net.ae> <4gi2fg$bcq@news.hal.com>
  9. Mime-Version: 1.0
  10. Content-Type: Text/Plain; charset=US-ASCII
  11. X-Newsreader: WinVN 0.99.7
  12.  
  13. I use the NetBIOS get adapter status command passing a parameter of "*", it 
  14. takes all of ten lines of code or so, but you do have to have NetBIOS support.  
  15. I have done this with OS2, WIN NT, WFW, and DOS.  I have never done this on a 
  16. UNIX machine, but I think some do support NetBIOS.
  17.  
  18. Your other option (in DOS environments) is doing a "cheap" bind when the 
  19. device driver loads and make use of NDIS or OCX calls, but this is painful 
  20. (especially if all you need is a MAC address).
  21.  
  22. Opinions expressed herein are my own and may not represent those of 3M.
  23.